<?php
/**
 * Installer language selection page
 *
 * @copyright		The XOOPS project http://www.xoops.org/
 * @license			http://www.fsf.org/copyleft/gpl.html GNU General Public License (GPL)
 * @package			installer
 * @since			2.0.18
 * @version			$Id: page_start.php 596 2006-06-30 03:14:03Z skalpa $
 *
 * @author			Haruki Setoyama  <haruki@planewave.org>
 * @author			Kazumi Ono <webmaster@myweb.ne.jp>
 * @author			Skalpa Keo <skalpa@xoops.org>
 * @author			dugris <dugris@frxoops.org>
**/

require_once 'common.inc.php';
if ( !defined('XOOPS_INSTALL') ) { die('XOOPS Custom Installation die'); }

$wizard->setPage( 'start' );
$wizard->helper[] = "Tips_writable";
$pageHasForm = false;

$content = "";
include "./language/$wizard->language/welcome.php";

$writable = "";
foreach ($wizard->paths as $key => $value) {
	$writable .= !empty($writable) ? "<br />" : "";
	if ( is_dir( '../' . $value ) ) {
		$writable .= "<span class='directory'>\"$value\"</span>";
	} elseif ( is_file( '../' . $value ) ) {
		$writable .= "<span class='files'>\"$value\"</span>";
	}
}
$content = sprintf( $content, "<div class='writable'>" . $writable . "</div>") ;

include 'install_tpl.php';

?>
